package priv.happy.mealpickpro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import priv.happy.mealpickpro.domain.Tag;
import priv.happy.mealpickpro.dto.UserTagCount;

import java.util.List;

/**
 * @author HAPPY
 * @description 针对表【tag】的数据库操作Mapper
 * @createDate 2023-07-02 11:23:42
 * @Entity priv.happy.mealpick.domain.Tag
 */
@Mapper
public interface TagMapper extends BaseMapper<Tag> {

    List<Tag> selectFoodTagList(Integer foodId);


    List<UserTagCount> countUserTags();
}




